package NewOrderXmlbean.impl;

import NewOrderXmlbean.OrderDocument;
import NewOrderXmlbean.Orderinfo;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.SchemaType;
import org.apache.xmlbeans.impl.values.TypeStore;
import org.apache.xmlbeans.impl.values.XmlComplexContentImpl;

public class OrderDocumentImpl extends XmlComplexContentImpl
  implements OrderDocument
{
  private static final QName ORDER$0 = new QName("", "order");

  public OrderDocumentImpl(SchemaType paramSchemaType)
  {
    super(paramSchemaType);
  }

  public Orderinfo getOrder()
  {
    synchronized (monitor())
    {
      check_orphaned();
      Orderinfo localOrderinfo = null;
      localOrderinfo = (Orderinfo)get_store().find_element_user(ORDER$0, 0);
      if (localOrderinfo == null)
        return null;
      return localOrderinfo;
    }
  }

  public void setOrder(Orderinfo paramOrderinfo)
  {
    synchronized (monitor())
    {
      check_orphaned();
      Orderinfo localOrderinfo = null;
      localOrderinfo = (Orderinfo)get_store().find_element_user(ORDER$0, 0);
      if (localOrderinfo == null)
        localOrderinfo = (Orderinfo)get_store().add_element_user(ORDER$0);
      localOrderinfo.set(paramOrderinfo);
    }
  }

  public Orderinfo addNewOrder()
  {
    synchronized (monitor())
    {
      check_orphaned();
      Orderinfo localOrderinfo = null;
      localOrderinfo = (Orderinfo)get_store().add_element_user(ORDER$0);
      return localOrderinfo;
    }
  }
}

/* Location:           C:\Users\Administrator\Desktop\奥特百叶窗\Shutter DesignerV3.1\CurtainDesign.jar
 * Qualified Name:     NewOrderXmlbean.impl.OrderDocumentImpl
 * JD-Core Version:    0.6.0
 */